.{$loadingBar-prefix}
    width 100%
    position fixed
    top 0
    left 0
    right 0
    z-index $loadingbar-zindex
    &-inner
      width 0
      height 0
      transition width $transition-time linear
      background $primary-color
      &.loading
        height 2px
      &.error
        background-color $red-color
